/*    */ package com.zimbra.cs.ldap.unboundid;
/*    */ 
/*    */ import com.unboundid.ldap.sdk.SearchScope;
/*    */ import com.zimbra.cs.ldap.ZSearchControls;
/*    */ import com.zimbra.cs.ldap.ZSearchScope;
/*    */ import java.util.Arrays;
/*    */ import java.util.List;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class UBIDSearchControls
/*    */   extends ZSearchControls
/*    */ {
/*    */   private SearchScope searchScope;
/*    */   private int sizeLimit;
/*    */   private List<String> returnAttrs;
/*    */   
/*    */   UBIDSearchControls(ZSearchScope searchScope, int sizeLimit, String[] returnAttrs)
/*    */   {
/* 35 */     this.searchScope = ((UBIDSearchScope)searchScope).getNative();
/* 36 */     this.sizeLimit = sizeLimit;
/*    */     
/* 38 */     if (returnAttrs != null) {
/* 39 */       this.returnAttrs = Arrays.asList(returnAttrs);
/*    */     }
/*    */   }
/*    */   
/*    */   SearchScope getSearchScope() {
/* 44 */     return this.searchScope;
/*    */   }
/*    */   
/*    */   int getSizeLimit() {
/* 48 */     return this.sizeLimit;
/*    */   }
/*    */   
/*    */   int getTimeLimit() {
/* 52 */     return 0;
/*    */   }
/*    */   
/*    */   boolean getTypesOnly() {
/* 56 */     return false;
/*    */   }
/*    */   
/*    */   List<String> getReturnAttrs() {
/* 60 */     return this.returnAttrs;
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/ldap/unboundid/UBIDSearchControls.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */